package com.it.tydic.estate.module.model.inner;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import javax.persistence.*;

@Table(name = "tb_customer_profile")
@Data
public class TbCustomerProfile {
    /**
     * 主键id
     */
    @Id
    @Column(name = "UID")
    private String uid;
    /**
     * 交房日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "HAND_OVER")
    private Date handOVer;
    /**
     * 交房日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date startDate;
    /**
     * 交房日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date endDate;
    /**
     * 入住日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date checkDate;

    public Date getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(Date checkDate) {
        this.checkDate = checkDate;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     * 客户属性
     */
    @Column(name = "ATTRIBUTES")
    private String attributes;
    /**
     * 客户属性
     */
    @Column(name = "USER_CODE")
    private String userCode;

    /**
     * 房屋地址
     */
    @Column(name = "HOME_ADDRESS")
    private String homeAddress;

    /**
     * 装修日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "RENOVATION_DATE")
    private Date renovationDate;

    /**
     * 租赁客户编号
     */
    @Column(name = "USER_NUM")
    private String userNum;

    /**
     * 生日
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "BIRTHDAY")
    private Date birthday;

    /**
     * QQ号码 
     */
    @Column(name = "QQ")
    private String Qq;


    /**
     * 电子邮箱
     */
    @Column(name = "EMAIL")
    private String email;

    /**
     * 住户卡号
     */
    @Column(name = "CARD_NUM")
    private String cardNum;

    /**
     * 身份证号
     */
    @Column(name = "ID_CARD")
    private String idCard;

    /**
     * 工作单位
     */
    @Column(name = "EMPLOYER")
    private String employer;

    /**
     * 关联单位
     */
    @Column(name = "RELATED_UNIT")
    private String relatedUnit;

    /**
     * 职务 
     */
    @Column(name = "POSITION")
    private String position;

    /**
     * 地址 
     */
    @Column(name = "ADDRESS")
    private String address;

    /**
     * 邮编 
     */
    @Column(name = "POSTCODE")
    private String postcode;

    /**
     * 法人
     */
    @Column(name = "LEGAL_PERSON")
    private String legalPerson;

    /**
     * 业务
     */
    @Column(name = "BUSINESS")
    private String business;

    /**
     * 行业
     */
    @Column(name = "INDUSTRY")
    private String industry;

    /**
     * 传真 
     */
    @Column(name = "FAX")
    private String fax;

    /**
     * 税号
     */
    @Column(name = "TAX_ID")
    private String taxId;

    /**
     * 经营状况
     */
    @Column(name = "OPERATING_CONDITIONS")
    private String operatingConditions;

    /**
     * 星级评定 
     */
    @Column(name = "STAR_RATING")
    private String starRating;

    /**
     * 紧急联系人
     */
    @Column(name = "EMERGENCY_CONTACT")
    private String emergencyContact;
    /**
     * 紧急联系人
     */
    @Column(name = "CONTACT")
    private String contact;

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    /**
     * 紧急联系人电话
     */
    @Column(name = "EMERGENCY_CONTACT_TEL")
    private String emergencyContactTel;

    /**
     * 银行代码
     */
    @Column(name = "BANKCODE")
    private String bankcode;

    /**
     * 银行卡号
     */
    @Column(name = "BANKNUM")
    private String banknum;

    /**
     * 是否银行代扣
     */
    @Column(name = "IS_WITHHOLDING")
    private String isWithholding;

    /**
     * 开户银行
     */
    @Column(name = "BANKACCOUNT")
    private String bankaccount;

    /**
     * 开户名称
     */
    @Column(name = "ACCOUNTNAME")
    private String accountname;

    /**
     * 银行扩展码A
     */
    @Column(name = "BANK_CODE_A")
    private String bankCodeA;

    /**
     * 银行扩展码B
     */
    @Column(name = "BANK_CODE_B")
    private String bankCodeB;

    /**
     * 银行扩展码C 
     */
    @Column(name = "BANK_CODE_C")
    private String bankCodeC;

    /**
     * 客户查询代码
     */
    @Column(name = "CUSTOMER_INQUIRY_CODE")
    private String customerInquiryCode;

    /**
     * 车牌号码 
     */
    @Column(name = "PLATE_NUM")
    private String plateNum;

    /**
     * 常住人口数
     */
    @Column(name = "PERMANENT_POPULATION")
    private String permanentPopulation;

    /**
     * 暂住人口数
     */
    @Column(name = "TEMEPORARY_RESIDENTS")
    private String temeporaryResidents;

    /**
     * 合同开始日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "CONTRACT_START")
    private Date contractStart;

    /**
     * 合同结束日期
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "CONTRACT_END")
    private Date contractEnd;

    /**
     * 备注
     */
    @Column(name = "BZ")
    private String bz;

    /**
     * 房间编号
     */
    @Column(name = "ROOM_NUM")
    private String roomNum;

    /**
     * 房间id
     */
    @Column(name = "ROOMID")
    private String roomId;
    /**
     * 客户类别
     */
    @Column(name = "M_TYPE")
    private String mType;
    /**
     * 档案id
     */
    @Column(name = "MOVE_ID")
    private String moveId;
    /**
     * 管理处
     */
    private String management;
    /**
     * 主键id
     */
    private String[] ids;
    /**
     * 房间id
     */
    private String[] roomIds;
    /**
     * 用户名称
     */
    private String userName;
    /**
     * 移动电话
     */
    private String tel;
    /**
     * 作废标记
     */
    private String zfbj;
    /**
     * 创建人
     */
    @Column(name = "CUSER_ID")
    private String cuserId;
    /**
     * 修改人
     */
    @Column(name = "UUSER_ID")
    private String uuserId;
    /**
     * 创建时间
     */
    @Column(name = "CJSJ")
    private Date cjsj;
    /**
     * 修改时间
     */
    @Column(name = "XGSJ")
    private Date xgsj;

    public String getZfbj() {
        return zfbj;
    }

    public void setZfbj(String zfbj) {
        this.zfbj = zfbj;
    }

    public String[] getRoomIds() {
        return roomIds;
    }

    public void setRoomIds(String[] roomIds) {
        this.roomIds = roomIds;
    }

    public TbCustomerProfile() {
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String[] getIds() {
        return ids;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String getManagement() {
        return management;
    }

    public void setManagement(String management) {
        this.management = management;
    }

    /**
     * 获取主键id
     *
     * @return UID - 主键id
     */
    public String getUid() {
        return uid;
    }

    /**
     * 设置主键id
     *
     * @param uid 主键id
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * 获取客户属性
     *
     * @return ATTRIBUTES - 客户属性
     */
    public String getAttributes() {
        return attributes;
    }

    /**
     * 设置客户属性
     *
     * @param attributes 客户属性
     */
    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    /**
     * 获取房屋地址
     *
     * @return HOME_ADDRESS - 房屋地址
     */
    public String getHomeAddress() {
        return homeAddress;
    }

    /**
     * 设置房屋地址
     *
     * @param homeAddress 房屋地址
     */
    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    /**
     * 获取装修日期
     *
     * @return RENOVATION_DATE - 装修日期
     */
    public Date getRenovationDate() {
        return renovationDate;
    }

    /**
     * 设置装修日期
     *
     * @param renovationDate 装修日期
     */
    public void setRenovationDate(Date renovationDate) {
        this.renovationDate = renovationDate;
    }

    /**
     * 获取租赁客户编号
     *
     * @return USER_NUM - 租赁客户编号
     */
    public String getUserNum() {
        return userNum;
    }

    /**
     * 设置租赁客户编号
     *
     * @param userNum 租赁客户编号
     */
    public void setUserNum(String userNum) {
        this.userNum = userNum;
    }

    /**
     * 获取生日
     *
     * @return BIRTHDAY - 生日
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * 设置生日
     *
     * @param birthday 生日
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 获取QQ号码 
     *
     * @return QQ - QQ号码 
     */
    public String getQq() {
        return Qq;
    }

    /**
     * 设置QQ号码 
     *
     * @param Qq QQ号码
     */
    public void setQq(String Qq) {
        this.Qq = Qq;
    }


    /**
     * 获取电子邮箱
     *
     * @return EMAIL - 电子邮箱
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置电子邮箱
     *
     * @param email 电子邮箱
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取住户卡号
     *
     * @return CARD_NUM - 住户卡号
     */
    public String getCardNum() {
        return cardNum;
    }

    /**
     * 设置住户卡号
     *
     * @param cardNum 住户卡号
     */
    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    /**
     * 获取身份证号
     *
     * @return ID_CARD - 身份证号
     */
    public String getIdCard() {
        return idCard;
    }

    /**
     * 设置身份证号
     *
     * @param idCard 身份证号
     */
    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    /**
     * 获取工作单位
     *
     * @return EMPLOYER - 工作单位
     */
    public String getEmployer() {
        return employer;
    }

    /**
     * 设置工作单位
     *
     * @param employer 工作单位
     */
    public void setEmployer(String employer) {
        this.employer = employer;
    }

    /**
     * 获取关联单位
     *
     * @return RELATED_UNIT - 关联单位
     */
    public String getRelatedUnit() {
        return relatedUnit;
    }

    /**
     * 设置关联单位
     *
     * @param relatedUnit 关联单位
     */
    public void setRelatedUnit(String relatedUnit) {
        this.relatedUnit = relatedUnit;
    }

    /**
     * 获取职务 
     *
     * @return POSITION - 职务 
     */
    public String getPosition() {
        return position;
    }

    /**
     * 设置职务 
     *
     * @param position 职务 
     */
    public void setPosition(String position) {
        this.position = position;
    }

    /**
     * 获取地址 
     *
     * @return ADDRESS - 地址 
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置地址 
     *
     * @param address 地址 
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取邮编 
     *
     * @return POSTCODE - 邮编 
     */
    public String getPostcode() {
        return postcode;
    }

    /**
     * 设置邮编 
     *
     * @param postcode 邮编 
     */
    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    /**
     * 获取法人
     *
     * @return LEGAL_PERSON - 法人
     */
    public String getLegalPerson() {
        return legalPerson;
    }

    /**
     * 设置法人
     *
     * @param legalPerson 法人
     */
    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson;
    }

    /**
     * 获取业务
     *
     * @return BUSINESS - 业务
     */
    public String getBusiness() {
        return business;
    }

    /**
     * 设置业务
     *
     * @param business 业务
     */
    public void setBusiness(String business) {
        this.business = business;
    }

    /**
     * 获取行业
     *
     * @return INDUSTRY - 行业
     */
    public String getIndustry() {
        return industry;
    }

    /**
     * 设置行业
     *
     * @param industry 行业
     */
    public void setIndustry(String industry) {
        this.industry = industry;
    }

    /**
     * 获取传真 
     *
     * @return FAX - 传真 
     */
    public String getFax() {
        return fax;
    }

    /**
     * 设置传真 
     *
     * @param fax 传真 
     */
    public void setFax(String fax) {
        this.fax = fax;
    }

    /**
     * 获取税号
     *
     * @return TAX_ID - 税号
     */
    public String getTaxId() {
        return taxId;
    }

    /**
     * 设置税号
     *
     * @param taxId 税号
     */
    public void setTaxId(String taxId) {
        this.taxId = taxId;
    }

    /**
     * 获取经营状况
     *
     * @return OPERATING_CONDITIONS - 经营状况
     */
    public String getOperatingConditions() {
        return operatingConditions;
    }

    /**
     * 设置经营状况
     *
     * @param operatingConditions 经营状况
     */
    public void setOperatingConditions(String operatingConditions) {
        this.operatingConditions = operatingConditions;
    }

    /**
     * 获取星级评定 
     *
     * @return STAR_RATING - 星级评定 
     */
    public String getStarRating() {
        return starRating;
    }

    /**
     * 设置星级评定 
     *
     * @param starRating 星级评定 
     */
    public void setStarRating(String starRating) {
        this.starRating = starRating;
    }

    /**
     * 获取紧急联系人
     *
     * @return EMERGENCY_CONTACT - 紧急联系人
     */
    public String getEmergencyContact() {
        return emergencyContact;
    }

    /**
     * 设置紧急联系人
     *
     * @param emergencyContact 紧急联系人
     */
    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact;
    }

    /**
     * 获取紧急联系人电话
     *
     * @return EMERGENCY_CONTACT_TEL - 紧急联系人电话
     */
    public String getEmergencyContactTel() {
        return emergencyContactTel;
    }

    /**
     * 设置紧急联系人电话
     *
     * @param emergencyContactTel 紧急联系人电话
     */
    public void setEmergencyContactTel(String emergencyContactTel) {
        this.emergencyContactTel = emergencyContactTel;
    }

    /**
     * 获取银行代码
     *
     * @return BANKCODE - 银行代码
     */
    public String getBankcode() {
        return bankcode;
    }

    /**
     * 设置银行代码
     *
     * @param bankcode 银行代码
     */
    public void setBankcode(String bankcode) {
        this.bankcode = bankcode;
    }

    /**
     * 获取银行卡号
     *
     * @return BANKNUM - 银行卡号
     */
    public String getBanknum() {
        return banknum;
    }

    /**
     * 设置银行卡号
     *
     * @param banknum 银行卡号
     */
    public void setBanknum(String banknum) {
        this.banknum = banknum;
    }

    /**
     * 获取是否银行代扣
     *
     * @return IS_WITHHOLDING - 是否银行代扣
     */
    public String getIsWithholding() {
        return isWithholding;
    }

    /**
     * 设置是否银行代扣
     *
     * @param isWithholding 是否银行代扣
     */
    public void setIsWithholding(String isWithholding) {
        this.isWithholding = isWithholding;
    }

    /**
     * 获取开户银行
     *
     * @return BANKACCOUNT - 开户银行
     */
    public String getBankaccount() {
        return bankaccount;
    }

    /**
     * 设置开户银行
     *
     * @param bankaccount 开户银行
     */
    public void setBankaccount(String bankaccount) {
        this.bankaccount = bankaccount;
    }

    /**
     * 获取开户名称
     *
     * @return ACCOUNTNAME - 开户名称
     */
    public String getAccountname() {
        return accountname;
    }

    /**
     * 设置开户名称
     *
     * @param accountname 开户名称
     */
    public void setAccountname(String accountname) {
        this.accountname = accountname;
    }

    /**
     * 获取银行扩展码A
     *
     * @return BANK_CODE_A - 银行扩展码A
     */
    public String getBankCodeA() {
        return bankCodeA;
    }

    /**
     * 设置银行扩展码A
     *
     * @param bankCodeA 银行扩展码A
     */
    public void setBankCodeA(String bankCodeA) {
        this.bankCodeA = bankCodeA;
    }

    /**
     * 获取银行扩展码B
     *
     * @return BANK_CODE_B - 银行扩展码B
     */
    public String getBankCodeB() {
        return bankCodeB;
    }

    /**
     * 设置银行扩展码B
     *
     * @param bankCodeB 银行扩展码B
     */
    public void setBankCodeB(String bankCodeB) {
        this.bankCodeB = bankCodeB;
    }

    /**
     * 获取银行扩展码C 
     *
     * @return BANK_CODE_C - 银行扩展码C 
     */
    public String getBankCodeC() {
        return bankCodeC;
    }

    /**
     * 设置银行扩展码C 
     *
     * @param bankCodeC 银行扩展码C 
     */
    public void setBankCodeC(String bankCodeC) {
        this.bankCodeC = bankCodeC;
    }

    /**
     * 获取客户查询代码
     *
     * @return CUSTOMER_INQUIRY_CODE - 客户查询代码
     */
    public String getCustomerInquiryCode() {
        return customerInquiryCode;
    }

    /**
     * 设置客户查询代码
     *
     * @param customerInquiryCode 客户查询代码
     */
    public void setCustomerInquiryCode(String customerInquiryCode) {
        this.customerInquiryCode = customerInquiryCode;
    }

    /**
     * 获取车牌号码 
     *
     * @return PLATE_NUM - 车牌号码 
     */
    public String getPlateNum() {
        return plateNum;
    }

    /**
     * 设置车牌号码 
     *
     * @param plateNum 车牌号码 
     */
    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    /**
     * 获取常住人口数
     *
     * @return PERMANENT_POPULATION - 常住人口数
     */
    public String getPermanentPopulation() {
        return permanentPopulation;
    }

    /**
     * 设置常住人口数
     *
     * @param permanentPopulation 常住人口数
     */
    public void setPermanentPopulation(String permanentPopulation) {
        this.permanentPopulation = permanentPopulation;
    }

    /**
     * 获取暂住人口数
     *
     * @return TEMEPORARY_RESIDENTS - 暂住人口数
     */
    public String getTemeporaryResidents() {
        return temeporaryResidents;
    }

    /**
     * 设置暂住人口数
     *
     * @param temeporaryResidents 暂住人口数
     */
    public void setTemeporaryResidents(String temeporaryResidents) {
        this.temeporaryResidents = temeporaryResidents;
    }

    /**
     * 获取合同开始日期
     *
     * @return CONTRACT_START - 合同开始日期
     */
    public Date getContractStart() {
        return contractStart;
    }

    /**
     * 设置合同开始日期
     *
     * @param contractStart 合同开始日期
     */
    public void setContractStart(Date contractStart) {
        this.contractStart = contractStart;
    }

    /**
     * 获取合同结束日期
     *
     * @return CONTRACT_END - 合同结束日期
     */
    public Date getContractEnd() {
        return contractEnd;
    }

    /**
     * 设置合同结束日期
     *
     * @param contractEnd 合同结束日期
     */
    public void setContractEnd(Date contractEnd) {
        this.contractEnd = contractEnd;
    }

    /**
     * 获取备注
     *
     * @return BZ - 备注
     */
    public String getBz() {
        return bz;
    }

    /**
     * 设置备注
     *
     * @param bz 备注
     */
    public void setBz(String bz) {
        this.bz = bz;
    }

    /**
     * 获取房间编号
     *
     * @return ROOM_NUM - 房间编号
     */
    public String getRoomNum() {
        return roomNum;
    }

    /**
     * 设置房间编号
     *
     * @param roomNum 房间编号
     */
    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }
    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getmType() {
        return mType;
    }

    public void setmType(String mType) {
        this.mType = mType;
    }

    public String getMoveId() {
        return moveId;
    }

    public void setMoveId(String moveId) {
        this.moveId = moveId;
    }

    public Date getHandOVer() {
        return handOVer;
    }

    public void setHandOVer(Date handOVer) {
        this.handOVer = handOVer;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }
}